FROM docker.io/library/openjdk:17
VOLUME /tmp
ADD target/*.jar app.jar
EXPOSE 8888
ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=${ENV}","--server.port=8888", "> /log/app.log"]